#region global
	globalvar RECORDING; RECORDING = false;
	
	function toggleRecording() {
		RECORDING = !RECORDING;
	}
#endregion